<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="./theme/{|$theme|}/admincss.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="./script/wow.js"></script>

<title>{|$lang.racemanage|}</title>
</head>

<body>
<form ID="ProList" name="ProList" method="post" action="?module=admin&act=admusermanage">
  <table border="0" width="100%" bgcolor="#333333">
    <tr class="title"> 
      <td colspan="4">{|$lang.manager|}{|$lang.manage|}</td>
    </tr>
    {|foreach item=val from=$userdata|} 
    <tr> 
      <td width="0%" height="20" align="center"> <div align="center"> </div></td>
      <td width="19%" align="center"><input type="checkbox" name="checkbox[]" value="{|$val.id|}"> 
      </td>
      <td width="39%" align="center"><div align="left"> 
          <input name="type[{|$val.id|}]" type="text" id="type" value="{|$val.username|}">
		  <a href="index.php?module=admin&act=changepower&id={|$val.id|}">{|$lang.changepower|}</a>
        </div></td>
      <td width="42%">{|if $val.power <='5'|}{|$lang.dkpmanager|}{|elseif $val.power>=10|}{|$lang.administrator|}{|/if|}</td>
    </tr>
    {|/foreach|} 
    <tr> 
      <td>&nbsp;</td>
      <td align="center">{|$lang.add|}:</td>
      <td> 
  
	  <table width="100%" border="0">
          <tr>
            <td>{|$lang.manager|}{|$lang.name|}</td>
            <td><input name="username" type="text" id="username"></td>
          </tr>
          <tr>
            <td>{|$lang.manager|}{|$lang.password|}</td>
            <td><input name="password" type="text" id="password"></td>
          </tr>
          <tr>
            <td>{|$lang.manager|}{|$lang.type|}</td>
            <td><select name="power" class="input">
                <option label="{|$lang.administrator|}" value="10">{|$lang.administrator|}</option>
                <option label="{|$lang.dkpmanager|}" value="5"  selected="selected">{|$lang.dkpmanager|}</option>
              </select></td>
          </tr>
          <tr>
            <td>{|$lang.manage|}{|$lang.copy|}</td>
            <td>
			{|html_checkboxes name="cid" options=$copyarray checked=1 separator="<br />"|}
			</td>
          </tr>
        </table>
		
		</td>
      <td>&nbsp; </td>
    </tr>
    <tr> 
      <td>&nbsp;</td>
      <td> <div align="center"> 
          <input type=checkbox id=chkAll name=chkAll language=javascript onClick="return chkAll_onclick()" class="checkbox">
          {|$lang.selectall|}</div></td>
      <td valign="top"> &nbsp;</td>
      <td valign="top">&nbsp;</td>
    </tr>
    <tr> 
      <td colspan="4"><div align="center"> 
          <input type="button" name="" value=" {|$lang.delete|} " onclick="B1_onclick('delete')">
          <input type="button" name="" value=" {|$lang.add|} " onclick="ProList.SiteAction.value='add';ProList.submit();">
          <input type="hidden" name="SiteAction" value="">
        </div></td>
    </tr>
  </table>
</form>
</body>
</html>
